package main

import (
	"fmt"
	"github.com/chartmuseum/helm-push/pkg/chartmuseum"
)

func main() {
	//auth.InitConfig("http://39.101.140.145:30002", "123456", "123456")
	cli, err := chartmuseum.NewClient(chartmuseum.URL("http://10.102.85.29:8080"))
	if err != nil {
		fmt.Printf("error %v", err)
		return
	}

	_, err = cli.UploadChartPackage("/home/tsb/code/test-uploads-0.1.0.tgz", false)
	if err != nil {
		fmt.Printf("error %v", err)
		return
	}
}
